package com.dp.demo.service;

import com.dp.demo.config.DefaultFeignConfig;
import com.dp.demo.config.GoodsClientFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @Author: dupeng
 * @CreateTime: 2024-12-05  17:58
 * @Description: TODO
 */
@FeignClient(value = "goodsServer")
public interface GoodsClient {

    @GetMapping("/api/test")
    String getHello();

    @GetMapping("/api/remoteSave")
    void remoteSave();
}
